﻿@{
    ViewBag.Title = "TransferForm";
    Layout = "~/Views/Shared/_Form.cshtml";
}
<script>
    var keyValue = $.request("keyValue");
    $(function () {
        $.ajax({
            url: "/BusinessManage/D_AmountChange/GetForm",
            data: { keyValue: keyValue },
            dataType: "json",
            async: false,
            success: function (data) {
                $("#form1").formSerialize(data);
            }
        });
    });
    function submitForm() {
        if (!$('#form1').formValid()) {
            return false;
        }
        $.submitForm({
            url: "/BusinessManage/D_AmountChange/SubTransfer",
            param: $("#form1").formSerialize(),
            success: function () {
                $.currentWindow().$("#gridList").trigger("reloadGrid");
            }
        })
    }
</script>
<form id="form1">
    <div style="margin-top: 10px; margin-left: 10px; margin-right: 10px;">
        <ul class="nav nav-tabs">
            <li class="active"><a href="#">会员转账</a></li>
        </ul>
        <div style="padding-top: 20px; margin-right: 30px;">
            <table class="form">
                <tr>
                    <td>
                        <span style="font-size:16px">
                            尊敬的会员;@NFine.Code.OperatorProvider.Provider.GetCurrent().UserName,您现拥有电子货币￥
                            <input id="F_Amount" name="F_Amount" type="text" readonly style="width:80px;border-left:0px;border-top:0px;border-right:0px;border-bottom:5px;border-color: #080808;" />,您现要转￥
                            <input id="F_Money" name="F_Money" type="text" required style="width:100px;border-left:0px;border-top:0px;border-right:0px;border-bottom:5px;border-color: #080808;" />给ID号为
                            <input id="F_UserId" name="F_UserId" type="text" required style="width:100px;border-left:0px;border-top:0px;border-right:0px;border-bottom:5px;border-color: #080808;" />的会员。
                            </span>
                    </td>
                    </tr>
                </table>
            </div>
        </div>
    </form>

